
import request from '@/utils/request'

export default {
  submitLogin(userInfo) {
    return request({
      // url: `http://10.18.19.18:9001/educenter/member/login`,
      url: '/educenter/member/login',
      // url: `http://10.18.25.94:9001/educenter/member/login`,
      method: 'post',
      data: userInfo
    })
  },
  getLoginInfo(token) {
    return request({
      // url: `http://10.18.25.94:9001/educenter/member/getMemberInfo?token=${token}`,
      url: `/educenter/member/getMemberInfo?token=${token}`,
      // url: `http://10.18.19.18:9001/educenter/member/getMemberInfo?token=${token}`,
      method: 'get'
    })
  }
}